home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / source / lib / chunky_lib.lha / Chunky_PPC / UnPack32.ass < prev    next >
Encoding:
Text File  |  2000-12-16  |  226 b   |  17 lines

  1. # UnPack32(r3:UL)(L,L,L,L)
  2.  
  3.     .text
  4.     .global    _UnPack32
  5.  
  6. _UnPack32:
  7.     srwi    r4,r3,8
  8.     srwi    r5,r3,16
  9.     srwi    r6,r3,24
  10.     andi.    r3,r3,0xff
  11.     andi.    r4,r4,0xff
  12.     andi.    r5,r5,0xff
  13.     blr
  14.  
  15.     .type    _UnPack32,@function
  16.     .size    _UnPack32,$-_UnPack32
  17.